#include "MorphologyClose.h"
#include "MorphologyDilation.h"
#include "MorphologyErosion.h"



MorphologyClose::MorphologyClose (const Core< int > & structElem)
: Morphology (structElem)
{

}



Ptr< QImage > MorphologyClose::operate (Ptr< QImage > pSrcImage)
{
  return MorphologyErosion  (__structElem).operate (
      MorphologyDilation (__structElem).operate (pSrcImage));
}
